package com.spic.business.alarm.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spic.business.alarm.domain.FangPiLaoAlarmModel;
import com.spic.business.alarm.domain.FloodAlarm;
import com.spic.business.violation.supervision.action.domain.ViolationActionInput;
import com.spic.business.violation.supervision.information.domain.ViolationInformation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FangPiLaoAlarmMapper  extends BaseMapper<FangPiLaoAlarmModel> {

    @DS("ods")
    List<FangPiLaoAlarmModel> selectAlarmList(@Param("zero") String zero);
    @DS("ods")
    List<FangPiLaoAlarmModel> selectAlarmListMonth(@Param("startTime") String startTime,@Param("endTime") String endTime);

    List<String> getHiddenList(@Param("monthDate") String monthDate);

    List<FloodAlarm> selectFloodAlarmList(@Param("zero") String zero);

    /**
     * IOC大屏查询违章举报列表
     * @return 违章举报集合
     */
    List<ViolationActionInput> selectViolationInformationListFromIoc(@Param("monthDate") String monthDate);


    List<ViolationInformation> selectViolationInformationListFromIoc02(@Param("monthDate") String monthDate);
}
